<div id="porlet_1"></div>
<div id="porlet_2">
  <div class="porlet_2">
    <b>
      <a href="#">
        <!-- NAME -->
        ĐĂNG NHẬP
        <!-- END - NAME-->
      </a>
    </b>
  </div>
</div>
<div id="porlet_3"></div>
<div id="porlet_4">
  <div class="porlet_4">&nbsp;</div>
</div>
<div id="porlet_5"></div>
<div style="clear:left"></div>
<div class="main_porlet">
  <!-- CONTENT -->

  <%= form_for @user, :as => :user, :url => sign_in_path, :html => { :style => 'padding: 20px 25px 15px; font: 90% arial, helvetica, sans-serif;' } do |f|  %>
      <div style="margin:0 0 1.5em;">
        <strong style="font-weight: bold; margin: 0 0 0.5em; display: block; -webkit-user-select: none;">Mã nhân viên hoặc email</strong>
        <%= f.text_field :MaNV, :style => "height: 32px; font-size: 15px; direction: 1tr; padding: 0 8px;"%>
      </div>

      <div style="margin:0 0 1.5em;">
        <strong style="font-weight: bold; margin: 0 0 0.5em; display: block; -webkit-user-select: none;">Mật khẩu</strong>
        <%= f.password_field :password, :style => "height: 32px; font-size: 15px; direction: 1tr; padding: 0 8px;"%>
      </div>
      <%= f.submit 'Đăng nhập', :class => "g-button-submit g-button", :style => "margin: 0 1.5em 1.2em 0; height: 32px; font-size: 13px; width: 87px;" %>

      <div style="vertical-align:top; margin: 9px 0 0;">
        <%= f.check_box :remember_me %>
        <strong style="font-weight: normal; color: #666; line-height: 0; padding: 0 0 0 .4em; -webkit-user-select:none; ">Duy trì trạng thái đăng nhập</strong>
      </div>

        <%= link_to 'Quên mật khẩu?', :forgot_password, :style => "color: #15c; text-decoration: none; " %>
  <% end %>
  <br style="clear:both;"/>

  <!-- END - CONTENT -->
</div>
<!-- End - Import -->
<div style="clear:both;"></div>
<!-- END - CONTENT -->


